package cn.prophet.mapper;

import cn.prophet.bean.OpenAccount;
import cn.prophet.bean.OpenAccountExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OpenAccountMapper {
    long countByExample(OpenAccountExample example);

    int deleteByExample(OpenAccountExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OpenAccount record);

    int insertSelective(OpenAccount record);

    List<OpenAccount> selectByExample(OpenAccountExample example);

    OpenAccount selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OpenAccount record, @Param("example") OpenAccountExample example);

    int updateByExample(@Param("record") OpenAccount record, @Param("example") OpenAccountExample example);

    int updateByPrimaryKeySelective(OpenAccount record);

    int updateByPrimaryKey(OpenAccount record);

    OpenAccount selectByAccountName(String accountName);
}